/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Bingo.system;

import java.util.ResourceBundle;

/**
 *
 * @author gilberto-CIDITIC
 */
public class Label {

    private ResourceBundle rb;
    private String idiom = "";

    public Label() {
        idiom = "es_ES";
    }

    private void loadBundle() {
        rb = ResourceBundle.getBundle("Bingo.megabingo.propiedades");
    }

    public String name(String idl) {
        loadBundle();
        return rb.getString(idl);
    }
}